﻿@model GioHangViet.Models.Comter

@{
    ViewBag.Title = "Create";
    Layout = "~/Areas/Admin/Views/Shared/_AdministratorLayout.cshtml";
}

<script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<div class="row-fluid">
    <div class="span7">
        <div class="widget-block">
            <div class="widget-head">
                <h5> Tạo mới dịch giả</h5>
            </div>
            <div class="widget-content">
                <div class="widget-box">
                    @using (Html.BeginForm("Create", "Comter", FormMethod.Post, new { @class = "form-horizontal well white-box" }))
                    {
                        @Html.ValidationSummary(true)
                        <fieldset>
                            @Html.HiddenFor(model => model.Alias)
                            <div class="control-group">
                                <div class="control-label">
                                    @Html.LabelFor(model => model.Name)
                                </div>
                                <div class="controls">
                                    @Html.EditorFor(model => model.Name)
                                    @Html.ValidationMessageFor(model => model.Name)
                                </div>
                            </div>
                            <div class="form-actions">
                                <input class="btn btn-primary" type="submit" value="Create" />
                                @Html.ActionLink("Back to List", "Index", new {id = 1}, new {@class = "btn"})
                            </div>
                        </fieldset>
                    }
                </div>
            </div>
        </div>
    </div>
</div>


